﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;

namespace Workers
{
    public class Worker
    {
        public BackgroundWorker BackgroundWorker
        {
            get
            {
                return m_backgroundWorker;
            }
        }
        protected BackgroundWorker m_backgroundWorker = new BackgroundWorker();

        public Worker()
        {
            m_backgroundWorker.WorkerReportsProgress = true;
            m_backgroundWorker.WorkerSupportsCancellation = true;
        }
    }
}
